import Vue from 'vue'
import Router from 'vue-router'

//组件模块
import Home from './pages/Home.vue'
import Committee from './pages/Committee.vue'
import Programme from './pages/Programme.vue'
import PlenarySpeakers from './pages/PlenarySpeakers.vue'
import Submission from './pages/Submission.vue'
import Registration from './pages/Registration.vue'
import Award from './pages/Award.vue'
import VisitorsVenue from './pages/VisitorsVenue.vue'
import Contact from './pages/Contact.vue'
// import TempPage from './pages/TempPage.vue'
import SummerSchool from './pages/SummerSchool.vue'
import OtherLectures from './pages/OtherLectures.vue'
import StudentsTtravelSupport from './pages/StudentsTtravelSupport.vue'








Vue.use(Router)

export default new Router({
    routes: [
        { path: "/", redirect: "/home" },
        { path: "/home", component: Home },
        // { path: "/committee", component: Committee },
        // { path: "/program", component: Programme },
        // { path: "/submission", component: Submission },
        // { path: "/registration", component: Registration },
        // { path: "/visitors_venue", component: VisitorsVenue },
        // { path: "/contact", component: Contact },
        { path: "/committee", component: Committee },
        { path: "/program", component: Programme },
        { path: "/submission", component: Submission },
        { path: "/registration", component: Registration },
        { path: "/plenary_speakers", component: PlenarySpeakers },
        { path: "/award", component: Award },
        { path: "/students_travel_support", component: StudentsTtravelSupport },
        { path: "/visitors_venue", component: VisitorsVenue },
        { path: "/summer_school", component: SummerSchool },
        { path: "/other_lectures", component: OtherLectures },
        { path: "/contact", component: Contact },
    ]
})
